package com.gkzf.ai.module.crm.dal.mysql.creditreportsimple;

import com.gkzf.ai.framework.mybatis.core.mapper.BaseMapperX;
import com.gkzf.ai.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.gkzf.ai.module.crm.dal.dataobject.creditreportsimple.UserAdmittanceHouseDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * CRM 小程序补充信息-房产 Mapper
 *
 * @author 国科智飞
 */
@Mapper
public interface UserAdmittanceHouseMapper extends BaseMapperX<UserAdmittanceHouseDO> {
    default List<UserAdmittanceHouseDO> selectByOpenIdList(String userOpenId) {
        return selectList(new LambdaQueryWrapperX<UserAdmittanceHouseDO>()
                .eq(UserAdmittanceHouseDO::getUserOpenId, userOpenId));
    }
}